<?php
apf_require_page ( "Abstract" );
apf_require_class('Bll_Attendance_ApplyType');
class Oa_Attendance_AskLeavePage extends AbstractPage {
    public function get_sub_view() {
        $leave_types = Bll_Attendance_ApplyType::get_leave_type();
        $this->smarty->assign('leave_types',$leave_types);
        $this->smarty->display ( 'askleave.html' );
    }
}